import { IUserState } from "./user/types";
import type { IModuleUser } from "./user";
import type { actions } from "./user/actions";
import type { IModuleTest } from "./test";
interface IState {}
type lsGetters = {
  name: string;
};
interface IRootWithModule {
  moduleUser: IUserState;
}

type IStoreType = IState & IRootWithModule;
// let a:IStoreType = {

// }
type BaseModule = {
  namespaced: boolean;
  name: string;
  actions: {};
  mutations: {};
  state: {};
  getters: {};
};

// type IModuleUser = {
//   moduleUser:BaseModule
// }

// type IModuleTest = {
//   moduleTest:BaseModule
// }

type LSModule = {
  LSModules: IModuleUser & IModuleTest;
};

export { IState, IStoreType, IRootWithModule, LSModule };
